import request from "../request";

/**
 * 登录接口
 * @login (url: string, data: object)
 * @return Promise
*/
export function login(url, data) {
  return request({
    url,
    method: 'post',
    data
  })
}